package cn.hk.archives.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 孕产妇建档信息表
 * </p>
 *
 * @author xu
 * @since 2023-05-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mms_archives_gravida")
@ApiModel(value="ArchivesGravida对象", description="孕产妇建档信息表")
public class ArchivesGravida implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "唯一标识")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "出生日期（0-6周岁判定）")
    private String birthday;

    @ApiModelProperty(value = "性别  0：女 1：男")
    private Boolean gender;

    @ApiModelProperty(value = "身高")
    private Double height;

    @ApiModelProperty(value = "体重")
    private Double weight;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "是否孕产妇:1：是；0：不是")
    private Integer isGravida;

    @ApiModelProperty(value = "末次月经时间")
    private String finalMenstruationTime;

    @ApiModelProperty(value = "产检机构")
    private String prenatalcheckOrg;

    private Date createTime;

    private String createUser;

    private Date updateTime;

    private String updateUser;

    @ApiModelProperty(value = "孕周")
    private Integer gestationalAge;

    @ApiModelProperty(value = "最后上传报告时间")
    private Date lastUpdateTime;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "预产期")
    private Date gestationalPeriod;

    @ApiModelProperty(value = "收缩压")
    private Double bloodPressureUp;

    @ApiModelProperty(value = "餐前(血糖)")
    private Double bloodFat;

    @ApiModelProperty(value = "舒张压")
    private Double bloodPressureDown;

    @ApiModelProperty(value = "社区id")
    private Long deptId;

    @ApiModelProperty(value = "1 高 2中 3低")
    private String gestationRisk;

    @ApiModelProperty(value = "妊娠 备注")
    private String gestationRemark;

    @ApiModelProperty(value = "（餐后）血糖")
    private Double bloodFatCh;

    @ApiModelProperty(value = "状态(0无效 1有效)")
    private String state;


}
